package com.pic.common.constants;

public interface MqConstants {
    interface Exchange{

        /*图片有关的交换机*/
        String PICTURE_EXCHANGE = "picture.topic";

        /*漂流瓶有关的交换机*/
        String BOTTLE_EXCHANGE = "bottle.topic";

        /*分类有关的交换机*/
        String CATEGORY_EXCHANGE = "category.topic";

        /*笔记的交换机*/
        String NOTE_EXCHANGE = "note.topic";

        /*回收站有关的交换机*/
        String RECYLE_EXCHANGE = "recyle.topic";

         /*用户有关的交换机*/
        String USER_RECORD_EXCHANGE = "user.topic";

        /*消息有关的交换机*/
        String SMS_EXCHANGE="sms.topic";

        /*异常信息的交换机*/
        String ERROR_EXCHANGE = "error.topic";

    }
    interface Queue {
        String ERROR_QUEUE_TEMPLATE = "error.{}.queue";
    }
    interface Key{


        /*积分相关RoutingKey*/
        /* 写回答 */
        String WRITE_REPLY = "reply.new";
        /* 签到 */
        String SIGN_IN = "sign.in";
        /* 学习视频 */
        String LEARN_SECTION = "section.learned";
        /* 写笔记 */
        String WRITE_NOTE = "note.new";
        /* 笔记被采集 */
        String NOTE_GATHERED = "note.gathered";

        /*点赞的RoutingKey*/
        String LIKED_TIMES_KEY_TEMPLATE = "{}.times.changed";
        /*问答*/
        String QA_LIKED_TIMES_KEY = "QA.times.changed";
        /*删除笔记*/
        String NOTE_DELETE_KEY = "note.delete.changed";


        /*上传图片*/
        String NOTE_PICTURE_KEY = "note.picture.changed";


        /*单张图片下载*/
        String PICTURE_DWONLOAD= "note.picture.download";
//        bottleSensitiveChecked

        String BOTTLESENSITIVE="bottle.sensitive.checked";

        /*
         */
        String BOTTLE_HANDLER= "bottle.handler";
        /*图片下载*/
        String PICTURE_DWONLOADS= "NOTE.picture.downloads";
        /*短信系统发送短信*/
        String SMS_MESSAGE = "sms.message";

        /*异常RoutingKey的前缀*/
        String ERROR_KEY_PREFIX = "error.";
        String DEFAULT_ERROR_KEY = "error.#";

        /*支付有关的key*/
        String PAY_SUCCESS = "pay.success";
        String REFUND_CHANGE = "refund.status.change";

        String ORDER_DELAY_KEY = "delay.order.query";
        /* 领取优惠券的key */
        String COUPON_RECEIVE = "coupon.receive";
    }
}
